#ifndef ADDLINECMD_H
#define ADDLINECMD_H

#include <AbstractCmd>

class Document;
class Line;

class AddLineCmd : public AbstractCmd
{
public:
    AddLineCmd(Document& doc, QPointer<Line> line);

    void undo();
    void redo();
private:
    Document& m_doc;
    QPointer<Line> m_line;
};

#endif // ADDLINECMD_H
